package com.shhic.hhplt.server.biz;

import java.util.List;

import com.shhic.hhplt.server.exceptions.TestReportXmlException;
import com.shhic.hhplt.server.model.ProductBindingCode;
import com.shhic.hhplt.server.model.ProductSuite;
import com.shhic.hhplt.server.model.ProductTestResult;
import com.shhic.hhplt.testreport.BindingCodeType;
import com.shhic.hhplt.testreport.TestReport;
import com.shhic.hhplt.testreport.TestSuiteType;

public interface ITestReportHelper {
	public TestReport generateTestReportFromXml(String xmlStr) throws TestReportXmlException;
	
	public String generateXmlStrFromTestReport(TestReport testReport) throws TestReportXmlException;

	public TestReport mergeReport(TestReport oneReport,
			TestReport anotherReport);

	public ProductTestResult generateProductTestResult(
			TestReport report);

	public List<ProductSuite> generateProductTestStatusList(TestReport report);
	
	public String generateHtmlStrFromTestReport(TestReport testReport);

	public List<ProductBindingCode> generateBindingCodeList(
			TestReport testReport);

}
